package com.wonders.auth.module.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wonders.auth.module.fo.UserFo;
import com.wonders.auth.module.po.User;
import com.wonders.auth.module.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author wonders
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {


    /**
     * 根据条件查询用户
     *
     * @param page
     * @param userFo
     * @return
     */
    IPage<UserVo> selectPageVo(IPage<User> page, @Param("user") UserFo userFo);
}
